package com.zc.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zc.common.annotation.Excel;
import com.zc.common.core.domain.BaseEntity;

import java.time.LocalDate;


/**
 * 每日感悟对象 daily_reflection
 * 
 * @author zc
 * @date 2025-09-29
 */
public class DailyReflection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 关联用户ID */
    @Excel(name = "关联用户ID")
    private Long userId;

    /** 标题（可选） */
    @Excel(name = "标题", readConverterExp = "可=选")
    private String title;

    /** 正文内容 */
    @Excel(name = "正文内容")
    private String content;

    /** 情绪标签（如开心,焦虑） */
    @Excel(name = "情绪标签", readConverterExp = "如=开心,焦虑")
    private String moodTags;

    /** 天气情况（可选） */
    @Excel(name = "天气情况", readConverterExp = "可=选")
    private String weather;

    /** 地点（可选） */
    @Excel(name = "地点", readConverterExp = "可=选")
    private String location;

    /** 是否公开（0私密，1公开） */
    @Excel(name = "是否公开", readConverterExp = "0=私密，1公开")
    private Integer isPublic;

    @Excel(name = "今日日期")
    private LocalDate todayDate;

    public void setTodayDate(LocalDate todayDate) {
        this.todayDate = todayDate;
    }

    public LocalDate getTodayDate() {
        return todayDate;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setMoodTags(String moodTags) 
    {
        this.moodTags = moodTags;
    }

    public String getMoodTags() 
    {
        return moodTags;
    }

    public void setWeather(String weather) 
    {
        this.weather = weather;
    }

    public String getWeather() 
    {
        return weather;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setIsPublic(Integer isPublic) 
    {
        this.isPublic = isPublic;
    }

    public Integer getIsPublic() 
    {
        return isPublic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("moodTags", getMoodTags())
            .append("weather", getWeather())
            .append("location", getLocation())
            .append("isPublic", getIsPublic())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
